package sys

import (
	"io/fs"
)

const (
	O_DIR    int = 0x200000       // dir
	O_MK_DIR int = O_DIR | 0x4000 // create a new dir if none exists.
	O_RM_DIR int = O_DIR | 0x2000 // create a new dir if none exists.
)

type NewFS interface {
	fs.FS

	OpenFile(name string, flag int, perm fs.FileMode) (fs.File, error)
}
